home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / aal / gauge.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  867b  |  32 lines

  1. /* Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by
  2.    libaal/COPYING.
  3.    
  4.    gauge.h -- progress-bar functions. */
  5.  
  6. #ifndef AAL_GAUGE_H
  7. #define AAL_GAUGE_H
  8.  
  9. #ifndef ENABLE_MINIMAL
  10. #include <aal/types.h>
  11.  
  12. extern aal_gauge_t *aal_gauge_create(aal_gauge_handler_t handler, 
  13.                      aal_gauge_handler_t value_func,
  14.                      void *data, uint64_t gap, 
  15.                      char *label, ...);
  16.  
  17. extern void aal_gauge_rename(aal_gauge_t *gauge, char *label, ...);
  18.  
  19. extern void aal_gauge_touch(aal_gauge_t *gauge);
  20. extern void aal_gauge_done(aal_gauge_t *gauge);
  21. extern void aal_gauge_pause(aal_gauge_t *gauge);
  22. extern void aal_gauge_free(aal_gauge_t *gauge);
  23.  
  24. extern void aal_gauge_set_value(aal_gauge_t *gauge, int64_t value);
  25. extern int64_t aal_gauge_get_value(aal_gauge_t *gauge);
  26. extern void aal_gauge_set_data(aal_gauge_t *gauge, void *data);
  27.  
  28. #endif
  29.  
  30. #endif
  31.  
  32.